package com.jk.dao.account;

import com.jk.entity.account.AccUser;
import com.jk.dto.account.AccUserDTO;
import com.jk.util.mybatis.MyBatisRepository;
import org.apache.ibatis.annotations.Param;

import org.springframework.dao.DataAccessException;
import java.util.List;

/**
 * ACC_USER dao
 * Tue Sep 22 11:02:19 CST 2015 yanghuan
 */
@MyBatisRepository
public interface AccUserDao {

    int deleteByPrimaryKey(@Param("accUserId") String accUserId) throws DataAccessException;

    int insert(AccUser accUser) throws DataAccessException;

    AccUser selectByPrimaryKey(@Param("accUserId") String accUserId) throws DataAccessException;

    int updateByPrimaryKeySelective(AccUser accUser) throws DataAccessException;

    int updateByPrimaryKey(AccUser accUser) throws DataAccessException;

    AccUser getByName(@Param("accUserName") String accUserName) throws DataAccessException;

    List<AccUser> select(AccUserDTO accUserDTO) throws DataAccessException;

    int total(AccUserDTO accUserDTO) throws DataAccessException;
}

